package com.zbkj.crmeb.member.service;

import java.util.Objects;

import org.apache.commons.collections.CollectionUtils;

import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.baomidou.mybatisplus.extension.service.IService;
import com.crmeb.core.exception.CrmebException;
import com.zbkj.crmeb.member.model.MemberPointsManagement;
import com.zbkj.crmeb.store.model.ChannelIntegralConfig;

/**
 * <p>
 * 会员积分管理 服务类
 * </p>
 *
 * @author xx
 * @since 2022-05-10
 */
public interface IMemberPointsManagementService extends IService<MemberPointsManagement> {

    /**
     * 会员积分配置新增或修改
     * @param memberPointsManagement
     * @return java.lang.Boolean
     */
    Boolean addOrUpd(MemberPointsManagement memberPointsManagement);


    /**
     * 功能描述: 获取积分商城状态
     * @Param: [merId]
     * @Return: java.lang.Boolean
     * @Author: wangzh
     * @Date: 2023/2/20 16:12
     */
    public Boolean getPointsEnableConfig(Integer merId);


    /**
     * 功能描述: 开启/关闭积分商城
     * @Param: [status, merId]
     * @Return: java.lang.Boolean
     * @Author: wangzh
     * @Date: 2023/2/28 14:36
     */
    public Boolean setEnablePointsConfig(Boolean status, Integer merId);

}
